package com.twt.recruit.service;

import com.twt.recruit.entity.Question;
import com.twt.recruit.mapper.QuestionMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class QuestionService {

    @Resource
    QuestionMapper questionMapper;

    public void delQuestionProjectId(Integer projectId) {
        questionMapper.delQuestionProjectId(projectId);
    }

    public void delQuestionOptionProjectId(Integer projectId) {
        questionMapper.delQuestionOptionProjectId(projectId);
    }

    public void delPrimeQuestionByProjectId(Integer projectId) {
        questionMapper.delPrimeQuestionByProjectId(projectId);
    }
}
